home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / pcboard / phtday2.zip / LOGON.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-01-21  |  961b  |  91 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     String   STRING001
  20.  
  21. ;------------------------------------------------------------------------------
  22.  
  23.     STRING001 = "TODAYS.DAT"
  24.     GetUser
  25.     If (CurSec() == SysopSec()) Goto LABEL001
  26.     If (FileInf(PPEPath() + STRING001, 2) <> Date()) Then
  27.         Delete PPEPath() + "YDAYS.DAT"
  28.         Rename PPEPath() + "TODAYS.DAT", PPEPath() + "YDAYS.DAT"
  29.     Endif
  30.     FAppend 1, PPEPath() + STRING001, 2, 0
  31.     FPutLn 1, "@X77┘@X1F@X18▌@X1F " + String(U_Name()) + "@POS:39@" + String(TimeAp(Time())) + "@POS:68@" + String(PcbNode()) + "@POS:77@@X18▐@X77█@X07"
  32.     FClose 1
  33.     :LABEL001
  34.  
  35. ;------------------------------------------------------------------------------
  36. ;
  37. ; Usage report (before postprocessing)
  38. ;
  39. ; ■ Statements used :
  40. ;
  41. ;    2       Goto 
  42. ;    1       Let 
  43. ;    2       If 
  44. ;    1       FAppend 
  45. ;    1       FClose 
  46. ;    1       FPutLn 
  47. ;    1       GetUser
  48. ;    1       Delete 
  49. ;    1       Rename 
  50. ;
  51. ;
  52. ; ■ Functions used :
  53. ;
  54. ;    11      +
  55. ;    1       ==
  56. ;    1       <>
  57. ;    1       !
  58. ;    1       Date()
  59. ;    1       Time()
  60. ;    1       U_Name()
  61. ;    1       TimeAp()
  62. ;    3       String()
  63. ;    5       PPEPath()
  64. ;    1       PcbNode()
  65. ;    1       SysopSec()
  66. ;    1       CurSec()
  67. ;    1       FileInf()
  68. ;
  69. ;------------------------------------------------------------------------------
  70. ;
  71. ; Analysis flags : s
  72. ;
  73. ; s - Sysop level access ■ 5
  74. ;     Program is reading the sysop access level, this may be normal
  75. ;     but still it is very suspect. It is the best way to give a user
  76. ;     all priviledges. Check!
  77. ;     ■ Search for : SYSOPSEC()
  78. ;
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Postprocessing report
  82. ;
  83. ;    0       For/Next
  84. ;    0       While/EndWhile
  85. ;    1       If/Then or If/Then/Else
  86. ;    0       Select Case
  87. ;
  88. ;------------------------------------------------------------------------------
  89. ;                 AEGiS Corp - Break the routines, code against the machines!
  90. ;------------------------------------------------------------------------------
  91.